package org.offsync.util

object Trace {
  val startTime = Time.now
  
  def trace(line: String) = {
    val timeOffset = Time.now - startTime
    System.err.println(
        "[" + "%03d".format(Thread.currentThread.getId) +
        ":" + "%05d".format(timeOffset.milliseconds) + "] " + line)
  }
}
